//
//  PS_MyViewController.m
//  FinanceSupermarket
//
//  Created by 丹丹 on 2018/12/12.
//  Copyright © 2018年 xuezi. All rights reserved.
//

#import "PS_MyViewController.h"
#import "PS_GetCashViewController.h"
#import "PS_LoanApllyViewController.h"
#import "XJ_SetViewController.h"

@interface PS_MyViewController ()
@property (weak, nonatomic) IBOutlet UIImageView *headImage;
@property (weak, nonatomic) IBOutlet UILabel *nickLabel;
@property (weak, nonatomic) IBOutlet UILabel *phoneLabel;
@end

@implementation PS_MyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.nav_titleLabel.text = @"我的";
    self.nav_btmView.hidden =YES;
    self.view.backgroundColor = RGBCOLOR(238, 238, 238);
    
    _headImage.layer.cornerRadius =_headImage.frame.size.height/2;
    _headImage.layer.masksToBounds =YES;
}
- (IBAction)Click_btn:(id)sender {
    UIButton *btn =(UIButton*)sender;
    switch (btn.tag) {
        case 0://头像
        {
          
        }
            break;
        case 1://今日收入
        {
            
        }
            break;
        case 2://累计收入
        {
            
        }
            break;
        case 3://提现金额
        {
            PS_GetCashViewController *vc =[[PS_GetCashViewController alloc]init];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
        case 4://贷款申请
        {
            PS_LoanApllyViewController *vc =[[PS_LoanApllyViewController alloc]init];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
        case 5://设置
        {
            XJ_SetViewController *set =[[XJ_SetViewController alloc]init];
            [self.navigationController pushViewController:set animated:YES];
        }
            break;
            
        default:
            break;
    }
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
